package com.zking.ssm.service;

import com.zking.ssm.model.SysRoler;
import com.zking.ssm.model.SysUserRoler;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ISysUserRolerService {

    int updateByPrimaryKeySelective(SysUserRoler record);

    //给用户分配角色
    int addRoleToUser(SysUserRoler s);

    //从用户撤销角色
    int toUserRemove(SysUserRoler s);





}